From b315482c21d65b20233ebdabdbcc0b89367fd04c Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Thu, 6 Jul 2006 09:53:23 -0600 Subject: [PATCH] [IA64] Fix GATE_ADDR for ia64_do_show_stack() fix GATE_ADDR and define it in include/asm-ia64/xensystem.h. Signed-off-by: Akio Takebe --- xen/include/asm-ia64/linux-xen/asm/system.h | 2 +- xen/include/asm-ia64/xensystem.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/include/asm-ia64/linux-xen/asm/system.h b/xen/include/asm-ia64/linux-xen/asm/system.h index b958560d91..c12beafd3a 100644 --- a/xen/include/asm-ia64/linux-xen/asm/system.h +++ b/xen/include/asm-ia64/linux-xen/asm/system.h @@ -19,8 +19,8 @@ #include #include -#define GATE_ADDR __IA64_UL_CONST(0xa000000000000000) #ifndef XEN +#define GATE_ADDR __IA64_UL_CONST(0xa000000000000000) /* * 0xa000000000000000+2*PERCPU_PAGE_SIZE * - 0xa000000000000000+3*PERCPU_PAGE_SIZE remain unmapped (guard page) diff --git a/xen/include/asm-ia64/xensystem.h b/xen/include/asm-ia64/xensystem.h index a385075a9a..d7c40e1735 100644 --- a/xen/include/asm-ia64/xensystem.h +++ b/xen/include/asm-ia64/xensystem.h @@ -19,6 +19,7 @@ #define HYPERVISOR_VIRT_START 0xe800000000000000 #define KERNEL_START 0xf000000004000000 +#define GATE_ADDR KERNEL_START #define DEFAULT_SHAREDINFO_ADDR 0xf100000000000000 #define PERCPU_ADDR (DEFAULT_SHAREDINFO_ADDR - PERCPU_PAGE_SIZE) #define VHPT_ADDR 0xf200000000000000 -- 2.30.2